package com.kimstore.dao;

import com.kimstore.bean.Customer;
import com.kimstore.bean.Order;
import com.kimstore.bean.Staff;
import com.kimstore.utilities.QueryElements;
import java.util.Date;
import java.util.List;

public interface OrderDao extends GenericJpaDao<Order, Integer> {

    public List<Order> findByCustomer(Customer customer);

    public List<Order> findByStaff(Staff staff);
    
    public List<Order> findByStaff(Staff staff, Date startDate, Date endDate);

    public List<Order> findAll(int startIndex, int maxNumber);

}
